The SimpleMenu Component > FSimpleMenu.setStyleProperty()

 

FSimpleMenu.setStyleProperty()

Availability

Flash Player 6.

Usage

sm_instance.setStyleProperty(property, value)

Parameters

property - A string specifying a property of the FStyleFormat object.
value - The value to set for the property.

Returns

Nothing.

Description

Sets an FStyleFormat property for an individual SimpleMenu instance.

Example

The following code sets the face property of the SimpleMenu to blue:

sm.setStyleProperty("face", 0x0000FF);